﻿// // ******************************************************************
// //       /\ /|       @file       CacheCommon.cs
// //       \ V/        @brief      await29
// //       | "")       @author     Await, 285283010@qq.com
// //       /  |
// //      /  \\        @Modified   2025-02-01 14:02
// //    *(__\_\        @Copyright  Copyright (c) , 2025-01-29 21:01 Await
// // ******************************************************************

namespace AutomaticSubtitles.Contracts.Config;

public class CacheCommon
{
    #region 百度翻译配置

    /// <summary>
    ///     百度翻译api
    /// </summary>
    public static readonly string BaiduTranslateApiKey = "BaiduTranslateApiKey";

    #endregion


    #region 系统

    /// <summary>
    /// 排序配置
    /// </summary>
    public static readonly string Configordering = "Configordering";


    /// <summary>
    /// 缓存运行
    /// </summary>
    public static readonly string CacheTimeKey = "AutomaticSubtitlesCacheTime";

    /// <summary>
    ///     翻译任务
    /// </summary>
    public static readonly string TranslationTask = "AutomaticSubtitlesTranslationTask";

    /// <summary>
    /// 字幕翻译
    /// </summary>
    public static readonly string AutoTranslationTask = "AutomaticAutoSubtitlesTranslationTask";

    /// <summary>
    ///     公共缓存地址key
    /// </summary>
    public static readonly string PublicCacheData = "PublicCacheData";

    #endregion

    #region ai配置

    /// <summary>
    /// ai配置
    /// </summary>
    public static readonly string AiConfig = "AiConfig";

    /// <summary>
    /// ai配置
    /// </summary>
    public static readonly string AiConfigValue = "AiConfigValue";

    /// <summary>
    /// 提示词
    /// </summary>
    public static readonly string AiConfigPromptWord = "AiConfigPromptWord";

    #endregion


    #region 任务key

    /// <summary>
    /// 存储任务名
    /// </summary>
    public static readonly string CacheTaskKey = "CacheTaskKey";

    /// <summary>
    /// 缓存key
    /// </summary>
    public static readonly string CacheKey = "CacheBackgroundService";


    /// <summary>
    /// 后台翻译任务
    /// </summary>
    public static readonly string TranslateBackgroundServiceKey = "TranslateBackgroundService";

    /// <summary>
    /// 后台字幕动态翻译合并数据
    /// </summary>
    public static readonly string AutoTranslationSubBackgroundServiceKey = "AutoTranslationSubBackgroundService";

    /// <summary>
    /// 翻译数据同步背景
    /// </summary>
    public static readonly string TranslationDataSynchBackgroundKey = "TranslationDataSynchBackground";

    #endregion


    #region 媒体配置

    /// <summary>
    /// 电视剧key
    /// </summary>
    public static readonly string CacheTVKey = "AutomaticSubtitlesCacheTVKey";

    /// <summary>
    /// 电影地址
    /// </summary>
    public static readonly string CacheMovieKey = "AutomaticSubtitlesCacheMovieKey";

    /// <summary>
    /// 不处理的路径
    /// </summary>
    public static readonly string CacheNoKey = "AutomaticSubtitlesCacheNoKey";

    #endregion
}